package com.example.hello_world.dataTransport;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TextView;

import com.example.hello_world.R;

public class showData extends AppCompatActivity {

    private TextView Tv01;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_data);
        Tv01=findViewById(R.id.intent_text);


        Intent intent01=getIntent();
        String string=intent01.getStringExtra("string01");
        Tv01.setText(string);
        Tv01.setTextColor(Color.argb(255,255,32,25));
    }
}